lappend auto_path ../../pkg/TMD
package require TMD

#namespace import ::TMD::*
define Charmm mixin threaded

set nodes {node1 node2}

foreach node $nodes {
    Charmm create $node {
	bin imm1pb
	dir current
	cmds no
	output charmm.out 
    }
    $node start
}

foreach node $nodes {
    $node do {
        sendCmd "calc i= 1+1"
	
    }
    
}
foreach node $nodes {
    puts [$node finished do]
}
